#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
using namespace std;
vector<string> vv;
string s;
int main()
{
    while(1)
    {
        cin>>s;
        vv.push_back(s);
        if(s[0]=='.')
            break;
}
    if(vv.size()>=14)
    {
        cout<<vv[1]<<" and "<<vv[13]<<" are inviting you to dinner...";
    }
    else if(vv.size()<14&&vv.size()>2)
    {
        cout<<vv[1]<<" is the only one for you...";
    }
    else
    {
        cout<<"Momo... No one is for you ...";
    }
    
    return 0;
}
